<div id="content">

    <!---弹出框-->
    <div class="buttons">
        <div class="modal hide" id="modal-add-event">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">×</button>
                <h3>添加人员</h3>
            </div>

            <form action="{:U('Manage/index')}" method="post">
                <div class="modal-body">
                    <p>
                        姓    名(登录账号)：<input type="text" size="30" name="name"/>
                    </p>
                    <p>
                        密    码：<input type="text" size="30" name="password"/>
                    </p>
                    <p>
                    <div class="row-fluid">
                        <div class="span12">
                            <div class="widget-box">
                                <div class="widget-title">
                                    <span class="icon">
                                        <input type="checkbox" id="title-checkbox" name="title-checkbox" />
                                    </span>
                                    <h5>权限划分</h5>
                                </div>
                                <div class="widget-content nopadding">
                                    <table class="table table-bordered table-striped with-check">
                                        <thead>
                                            <tr>
                                                <th>模块</th>
                                                <th>添</th>
                                                <th>删</th>
                                                <th>改</th>
                                                <th>查</th>
                                                <th>特殊一</th>
                                                <th>特殊二</th>
                                                <th>特殊三</th>
                                            </tr>
                                        </thead>

                                            <tbody>
                                                <tr>
                                                    <td>用户</td>
                                                    <td><input type="checkbox" value="User/index" name="auth[]">查看</td>
                                                    <td></td>
                                                    <td></td>
                                                    <td></td>
                                                    <td></td>
                                                    <td></td>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>商品</td>
                                                    <td><input type="checkbox" value="Goods/addGoods" name="auth[]"></td>
                                                    <td><input type="checkbox" value="Goods/delGoods" name="auth[]"></td>
                                                    <td><input type="checkbox" value="Goods/updataGoods" name="auth[]"></td>
                                                    <td><input type="checkbox" value="Goods/index" name="auth[]"></td>
                                                    <td><input type="checkbox" vallue="Goods/upMoreImg" name="auth[]">多图上传</td>
                                                    <td><input type="checkbox" vallue="Goods/delOne" name="auth[]">多图删除</td>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>栏目</td>
                                                    <td><input type="checkbox" value="Cate/addCate" name="auth[]"></td>   <!--查看/添加时在一个页面完成-->
                                                    <td><input type="checkbox" value="Cate/delCate" name="auth[]"></td>
                                                    <td></td>
                                                    <td><input type="checkbox" value="Cate/addCate" name="auth[]"></td>    <!--查看/添加时在一个页面完成-->
                                                    <td></td>
                                                    <td></td>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>订单</td>
                                                    <td></td>   <!--查看/添加时在一个页面完成-->
                                                    <td></td>
                                                    <td></td>
                                                    <td><input type="checkbox" value="Order/index" name="auth[]"></td>    <!--查看/添加时在一个页面完成-->
                                                    <td></td>
                                                    <td></td>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>后台操作</td>
                                                    <td><input type="checkbox" value="Manage/index" name="auth[]"></td>   <!--查看/添加时在一个页面完成-->
                                                    <td><input type="checkbox" value="Manage/delCate" name="auth[]"></td>
                                                    <td></td>
                                                    <td><input type="checkbox" value="Manage/index" name="auth[]"></td>    <!--查看/添加时在一个页面完成-->
                                                    <td></td>
                                                    <td></td>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>商户操作</td>
                                                    <td><input type="checkbox" value="BusinessMan/index" name="auth[]"></td>   <!--查看/添加时在一个页面完成-->
                                                    <td><input type="checkbox" value="BusinessMan/delMan" name="auth[]"></td>
                                                    <td><input type="checkbox" value="BusinessMan/updataMan" name="auth[]"></td>
                                                    <td><input type="checkbox" value="BusinessMan/addMan" name="auth[]"></td>    <!--查看/添加时在一个页面完成-->
                                                    <td><input type="checkbox" value="BusinessMan/restMan" name="auth[]">还原</td>
                                                    <td></td>
                                                    <td></td>
                                                </tr>
                                            </tbody>
                                    </table>
                                </div>
                            </div>

                        </div>
                    </div>

                    </p>
                </div>
                <div class="modal-footer">
                    <a href="#" class="btn" data-dismiss="modal">Cancel</a>
                    <input type="submit" id="add-event-submit" class="btn btn-primary" value="提交">
                </div>
            </form>
        </div>
    </div>
    <!--弹出框END--->

    <div class="container-fluid">
        <div class="quick-actions_homepage">
            <ul class="quick-actions">
                <li class="bg_lb"> <a id="add-event" data-toggle="modal"  href="#modal-add-event"> <i class="icon-pencil"></i>添加人员</a> </li>
            </ul>
        </div>
    </div>

    <div class="container-fluid">
        <hr>
        <div class="row-fluid">
            <div class="span12">
                <div class="widget-box">
                    <div class="widget-title">
                        <span class="icon">
                            <input type="checkbox" id="title-checkbox" name="title-checkbox" />
                        </span>
                        <h5>Static table with checkboxes</h5>

                    </div>
                    <div class="widget-content nopadding">
                        <table class="table table-bordered table-striped with-check" width="900px;">
                            <thead>
                                <tr>
                                    <th><i class="icon-resize-vertical"></i></th>
                                    <th>ID</th>
                                    <th>姓名</th>
                                    <th>密码</th>
                                    <th>添加时间</th>
                                    <th>最后一次登录</th>
                                    <th>最后一次登录IP</th>
                                    <th width="400">权限列表</th>
                                    <th>操作</th>
                                </tr>
                            </thead>

                            <volist name="data" id="vo">
                                <tbody>
                                    <tr>
                                        <td><input type="checkbox" /></td>
                                        <td>{$vo.id}</td>
                                        <td class="center">{$vo.name}</td>
                                        <td>{$vo.password}</td>
                                        <td>{$vo.add_time}</td>
                                        <td>{$vo.last_login}</td>
                                        <td>{$vo.last_ip}</td>
                                        <td width="400" style="word-break:break-all">{$vo.auth}</td>
                                        <td>
                                            <a href="{:U('Manage/del',array('id'=>$vo['id']))}" class="btn btn-danger btn-mini">删除</a>
                                            <a href="{:U('Manage/updata',array('id'=>$vo['id']))}" class="btn btn-inverse btn-mini">更新</a>
                                            <!--<a href="{:U('Admin/updataAdmin',array('id'=>$vo['id']))}" class="btn btn-inverse btn-mini">修改</a>-->
                                        </td>
                                    </tr>
                                </tbody>
                            </volist>

                        </table>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>
<script src="__PUBLIC__js/fullcalendar.min.js"></script>
<script src="__PUBLIC__js/matrix.calendar.js"></script>
<script src="__PUBLIC__js/matrix.tables.js"></script>